<template>
  <table v-if="lines.length>0" class="ui small column striped celled table">
    <thead  class="">
    <tr>
      <th v-for=" title in titles">{{title}}</th>

    </tr>
    </thead>

    <tbody>
    <tr v-for="line in lines">
      <td v-for="field in fields">
        {{line[field]}}
      </td>
    </tr>

    </tbody>

  </table>
</template>
<script type="text/ecmascript-6">
  import tool from 'src/util/tool'


  export default {
    data() {
      return {
        current_page: 1,
        tabRadio: null,
      }
    },
    mounted() {
    },
    computed: {
    },
    methods: {},
    watch: {
    },
    components: {},
    props: ['titles', 'lines', 'fields']
  }
</script>
<style rel="stylesheet/less" scoped lang="less">@dir: "common/";

.tabCommon-wrapper {
}
</style>
